# Configuring your GitHub Repository

To update your API Portal for every change to your OAS and markdown files, you
need to configure your GitHub repository to revalidate the portal on every push.


## GitHub Action

In the same repository that holds your `konfig.yaml` file(s), add the following
GitHub Action under `.github/workflows/konfig-revalidate-portal.yaml` to the repository that
hosts your OAS. Replace the following values with your own:

<CH.Section>

1. [Production Branch](focus://5)
1. [Owner](focus://23[42:47])
1. [Repository](focus://23[52:62])

```yaml .github/workflows/konfig-revalidate-portal.yaml
# from ./assets/konfig-revalidate-portal.yaml
```

</CH.Section>